package com.hf.healthy_life.service;

import com.hf.healthy_life.pojo.HealthTaskInformation;
import com.hf.healthy_life.vo.CalculateProgressVo;
import com.hf.healthy_life.vo.WeekFinishVo;

import java.util.List;

public interface TaskService {
    int add(HealthTaskInformation task);

    List<HealthTaskInformation> getAll(Long userId);

    int update(HealthTaskInformation task);

    int delete(Long taskId);

    CalculateProgressVo calculateProgress(Long userId);

    WeekFinishVo getIfFinish(Long userId);

    int getAchievement(Long userId);
}
